package com.m3958.firstgwt.client.rpc;

import com.smartgwt.client.rpc.RPCCallback;
import com.smartgwt.client.rpc.RPCRequest;
import com.smartgwt.client.rpc.RPCResponse;
import com.smartgwt.client.util.SC;

public abstract class MyTextCallback implements RPCCallback{

	@Override
	public void execute(RPCResponse response, Object rawData, RPCRequest request) {
		afterSuccess(rawData.toString());
		SC.clearPrompt();
	}
	
	public abstract void afterSuccess(String result);

}
